{% extends base.html %}

{% block head %}

<style type="text/css">
.gallery-item {
    float: left;
    width: 150px;
    height: 180px;
    text-align: center;
    overflow: hidden;
    border:1px solid #ccc;
    margin: 5px;
}

.gallery-item>div {
    width:150px;
    height:150px;
}

.gallery-item img {
    max-width:150px;
    max-height:150px;
}

.gallery-item a {
    display: block;
}
</style>

<style type="text/css">
    {% raw css_style %}
</style>

{% end %}

{% block body %}
    {% init error = "" %}
    {% init description = "" %}
    {% init input = "" %}
    {% init output = "" %}

    {% include "tools/base_title.html" %}

    {% if description != "" %}
    <pre class="col-md-12 info">
    {{description}}
    </pre>
    {% end %}

    {% if error != "" %}
    <pre class="col-md-12 error">
    {{error}}
    </pre>
    {% end %}

    {% include mod_pagenation.html %}


    <pre class="col-md-12">{{ output }}</pre>
    <div class="col-md-12">{% raw html %}</div>
{% end %}

